package com.xiaozhi.service;

import com.xiaozhi.VO.RegisterVO;
import com.xiaozhi.entity.Student;
import com.xiaozhi.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 烟尘
 * @since 2023-03-15
 */
public interface TeacherService extends IService<Teacher> {

    /**
     * 根据多条件查询
     * @param map
     * @return
     */
    List<Teacher> selectByAny(HashMap<String,Object> map);

    /**
     * 增加老师
     */
    boolean addTeacher(Teacher teacher);

    /**
     * 修改老师
     */
    boolean update(Teacher teacher);
}
